package cn.gene.timeyan.chat.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 客户端视图*
 * 服务端视图
 *
 * @author LWG
 * @date 2022/8/14 19:18
 * @since 1.0.0 @gene.cn
 */
@Controller
@RequestMapping(value = "/")
public class IndexController {

    /**
     * @Description: 客户端视图
     * @return java.lang.String
     * @Author Mr.Fang
     * @date 2021/11/14 13:19
     */
    @RequestMapping("/client")
    public String index(){
        return "client";
    }

    /**
     * @Description: 服务端视图
     * @return java.lang.String
     * @Author Mr.Fang
     * @date 2021/11/14 13:19
     */
    @RequestMapping("/server")
    public String server(){
        return "server";
    }
}
